package org.jeecg.modules.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 赛事
 * @Author: jeecg-boot
 * @Date:   2023-01-01
 * @Version: V1.0
 */
@ApiModel(value="runner_match对象", description="赛事")
@Data
@TableName("runner_match")
public class RunnerMatch implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**赛事名称*/
	@Excel(name = "赛事名称", width = 15)
    @ApiModelProperty(value = "赛事名称")
    private String mname;
	/**人数*/
	@Excel(name = "人数", width = 15)
    @ApiModelProperty(value = "人数")
    private Integer tagsnum;
	/**赛事开始时间*/
	@Excel(name = "赛事开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "赛事开始时间")
    private Date mbegintime;
	/**赛事结束时间*/
	@Excel(name = "赛事结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "赛事结束时间")
    private Date mendtime;
	/**赛事主办单位*/
	@Excel(name = "赛事主办单位", width = 15)
    @ApiModelProperty(value = "赛事主办单位")
    private String morg;
	/**通过终点次数*/
	@Excel(name = "通过终点次数", width = 15)
    @ApiModelProperty(value = "通过终点次数")
    private Integer runnernum;
	/**时间间隔（秒）*/
	@Excel(name = "时间间隔（秒）", width = 15)
    @ApiModelProperty(value = "时间间隔（秒）")
    private Integer timeinterval;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String mtext;
	/**比赛类型*/
	@Excel(name = "比赛类型", width = 15, dicCode = "matchtype")
    @Dict(dicCode = "matchtype")
    @ApiModelProperty(value = "比赛类型")
    private String matchtype;
	/**比赛状态*/
	@Excel(name = "比赛状态", width = 15, dicCode = "matchstatus")
    @Dict(dicCode = "matchstatus")
    @ApiModelProperty(value = "比赛状态")
    private String mstatus;
}
